package cartagows.wsframework.wssecurity.core;

import java.io.Serializable;

import org.w3c.dom.Document;

import cartago.CartagoException;
import cartagows.MsgInfo;
import cartagows.wsframework.core.FrameworkIDValidator;
import cartagows.wsframework.core.IOperation;
import cartagows.wsframework.core.IOperationContent;
import cartagows.wsframework.wssecurity.policy.PolicyData;

public class WSSecurityOperationContent implements IOperationContent,Serializable{

	private static final long serialVersionUID = 1L;
	
	private PolicyData pd;
	private boolean initiator;
	
	public WSSecurityOperationContent(PolicyData pd, boolean initiator) throws CartagoException{
		this.pd = pd;
		this.initiator = initiator;
	}

	public PolicyData getPolicyData() {
		return pd;
	}
	
	public boolean isInitiator() {
		return initiator;
	}
	
}